function [ yes ] = IfAdded( P,x )
%IFADDED Summary of this function goes here
%   Detailed explanation goes here
yes = 'N';
[px,py] = size(P);
for i=1:py
    if P(i)==x
        yes = 'Y';
    end;
end;